package com.lianyou.chapter02.containerelement.typeCascaded;

import jakarta.validation.constraints.AssertTrue;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: wangzhen
 * @Date: 2024-08-30 15:01
 * @Version: v1.0.0
 * @Description: TODO
 **/
@Data
public class Room {
    @NotNull
    public String name;
    @AssertTrue
    public boolean finished;
}
